
package com.colissimo.shipment;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>generateBordereauByParcelsNumbers complex type的 Java 类。
 * 
 * <p>以下模式片段指定包含在此类中的预期内容。
 * 
 * <pre>
 * &lt;complexType name="generateBordereauByParcelsNumbers">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="contractNumber" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="password" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="generateBordereauParcelNumberList">
 *           &lt;complexType>
 *             &lt;complexContent>
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 &lt;sequence>
 *                   &lt;element name="parcelsNumbers" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
 *                 &lt;/sequence>
 *               &lt;/restriction>
 *             &lt;/complexContent>
 *           &lt;/complexType>
 *         &lt;/element>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "generateBordereauByParcelsNumbers", propOrder = {
    "contractNumber",
    "password",
    "generateBordereauParcelNumberList"
})
public class GenerateBordereauByParcelsNumbers {

    @XmlElement(required = true)
    protected String contractNumber;
    @XmlElement(required = true)
    protected String password;
    @XmlElement(required = true)
    protected GenerateBordereauByParcelsNumbers.GenerateBordereauParcelNumberList generateBordereauParcelNumberList;

    /**
     * 获取contractNumber属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getContractNumber() {
        return contractNumber;
    }

    /**
     * 设置contractNumber属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setContractNumber(String value) {
        this.contractNumber = value;
    }

    /**
     * 获取password属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getPassword() {
        return password;
    }

    /**
     * 设置password属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setPassword(String value) {
        this.password = value;
    }

    /**
     * 获取generateBordereauParcelNumberList属性的值。
     * 
     * @return
     *     possible object is
     *     {@link GenerateBordereauByParcelsNumbers.GenerateBordereauParcelNumberList }
     *     
     */
    public GenerateBordereauByParcelsNumbers.GenerateBordereauParcelNumberList getGenerateBordereauParcelNumberList() {
        return generateBordereauParcelNumberList;
    }

    /**
     * 设置generateBordereauParcelNumberList属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link GenerateBordereauByParcelsNumbers.GenerateBordereauParcelNumberList }
     *     
     */
    public void setGenerateBordereauParcelNumberList(GenerateBordereauByParcelsNumbers.GenerateBordereauParcelNumberList value) {
        this.generateBordereauParcelNumberList = value;
    }


    /**
     * <p>anonymous complex type的 Java 类。
     * 
     * <p>以下模式片段指定包含在此类中的预期内容。
     * 
     * <pre>
     * &lt;complexType>
     *   &lt;complexContent>
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       &lt;sequence>
     *         &lt;element name="parcelsNumbers" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
     *       &lt;/sequence>
     *     &lt;/restriction>
     *   &lt;/complexContent>
     * &lt;/complexType>
     * </pre>
     * 
     * 
     */
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "", propOrder = {
        "parcelsNumbers"
    })
    public static class GenerateBordereauParcelNumberList {

        @XmlElement(required = true)
        protected List<String> parcelsNumbers;

        /**
         * Gets the value of the parcelsNumbers property.
         * 
         * <p>
         * This accessor method returns a reference to the live list,
         * not a snapshot. Therefore any modification you make to the
         * returned list will be present inside the JAXB object.
         * This is why there is not a <CODE>set</CODE> method for the parcelsNumbers property.
         * 
         * <p>
         * For example, to add a new item, do as follows:
         * <pre>
         *    getParcelsNumbers().add(newItem);
         * </pre>
         * 
         * 
         * <p>
         * Objects of the following type(s) are allowed in the list
         * {@link String }
         * 
         * 
         */
        public List<String> getParcelsNumbers() {
            if (parcelsNumbers == null) {
                parcelsNumbers = new ArrayList<String>();
            }
            return this.parcelsNumbers;
        }

    }

}
